package com.neu.question.mapper;

import com.neu.question.domain.TenantsPropertyInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

/**
* @author DELL
* @description 针对表【tenants_property_info】的数据库操作Mapper
* @createDate 2022-10-31 19:09:10
* @Entity com.neu.question.domain.TenantsPropertyInfo
*/
@SuppressWarnings("MybatisXMapperMethodInspection")
@Mapper
public interface TenantsPropertyInfoMapper extends BaseMapper<TenantsPropertyInfo> {

  //查询所有的租户信息
  List<Map<String,Object>> selectAllTenantsPropertyInfo();

  //根据租户id查询租户资产列表
  Map<String,Object> selectTenantsPropertyInfoByUserId(String id);

  //添加租户资产信息
  int addTenantsPropertyInfo(Map<String,Object> map);

  //删除租户资产信息
    int deleteTenantsPropertyInfo(String id);
}




